]>
Commit | Line | Data |
---|---|---|
8f6d1a2c | 1 | # |
2 | # Conditional build: | |
c3844957 | 3 | %bcond_without apidocs # disable gtk-doc |
1cfc56f6 | 4 | %bcond_without cups # disable CUPS support |
8d18157f | 5 | %bcond_without papi # disable PAPI support |
86d027d1 | 6 | %bcond_without static_libs # don't build static library |
631511a4 | 7 | |
ee07a9c1 PZ |
8 | Summary: The GIMP Toolkit |
9 | Summary(cs.UTF-8): Sada nástrojů pro GIMP | |
10 | Summary(de.UTF-8): Der GIMP-Toolkit | |
11 | Summary(fi.UTF-8): GIMP-työkalukokoelma | |
12 | Summary(fr.UTF-8): Le toolkit de GIMP | |
13 | Summary(it.UTF-8): Il toolkit per GIMP | |
14 | Summary(pl.UTF-8): GIMP Toolkit | |
15 | Summary(tr.UTF-8): GIMP ToolKit arayüz kitaplığı | |
94be343e | 16 | Name: gtk+2 |
13de1baa | 17 | Version: 2.24.28 |
9972207f | 18 | Release: 1 |
f9ca522f | 19 | Epoch: 2 |
099be6e8 | 20 | License: LGPL v2+ |
f4d0ca3c | 21 | Group: X11/Libraries |
eab354d3 | 22 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.24/gtk+-%{version}.tar.xz |
13de1baa | 23 | # Source0-md5: bfacf87b2ea67e4e5c7866a9003e6526 |
7ec1e575 | 24 | Patch0: %{name}-arch_confdir.patch |
64ed4784 | 25 | Patch1: gobject-introspection.patch |
8d18157f | 26 | Patch2: %{name}-papi.patch |
f4d0ca3c | 27 | URL: http://www.gtk.org/ |
d4235514 | 28 | BuildRequires: atk-devel >= 1:1.30.0-3 |
60eadd43 | 29 | BuildRequires: autoconf >= 2.62 |
3d6d603f | 30 | BuildRequires: automake >= 1:1.7 |
ee07a9c1 | 31 | BuildRequires: cairo-devel >= 1.6.0 |
8d18157f JB |
32 | %if %{with cups} || %{with papi} |
33 | BuildRequires: cups-devel | |
34 | %endif | |
f9ca522f | 35 | BuildRequires: docbook-dtd412-xml |
36 | BuildRequires: docbook-style-xsl | |
64ed4784 | 37 | BuildRequires: gdk-pixbuf2-devel >= 2.22.0 |
717b6d64 | 38 | BuildRequires: gettext-tools |
5a2a4faf | 39 | BuildRequires: glib2-devel >= 1:2.27.3 |
a52f60c0 | 40 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
bf80b080 | 41 | %{?with_apidocs:BuildRequires: gtk-doc >= 1.17} |
60eadd43 | 42 | BuildRequires: gtk-doc-automake >= 1.11 |
060affee | 43 | BuildRequires: libtool >= 1:1.4.2-9 |
fc5b9a1b | 44 | BuildRequires: libxml2-progs >= 1:2.6.31 |
71261649 | 45 | BuildRequires: libxslt-progs >= 1.1.20 |
64ed4784 | 46 | BuildRequires: pango-devel >= 1:1.28.1-4 |
8d18157f | 47 | %{?with_papi:BuildRequires: papi-devel} |
f9ca522f | 48 | BuildRequires: perl-base |
5a2a4faf | 49 | BuildRequires: perl-devel |
01c9c76b | 50 | BuildRequires: pkgconfig |
e3fb4f8c | 51 | BuildRequires: rpm-pythonprov |
ed26125a | 52 | BuildRequires: rpmbuild(macros) >= 1.311 |
e0f6f227 | 53 | BuildRequires: sed >= 4.0 |
5a2a4faf | 54 | BuildRequires: sqlite3-devel |
eab354d3 | 55 | BuildRequires: tar >= 1:1.22 |
88d12146 | 56 | BuildRequires: xorg-lib-libX11-devel |
d27feaf5 | 57 | BuildRequires: xorg-lib-libXcomposite-devel |
5939f636 | 58 | BuildRequires: xorg-lib-libXcursor-devel |
d27feaf5 | 59 | BuildRequires: xorg-lib-libXdamage-devel |
88d12146 | 60 | BuildRequires: xorg-lib-libXext-devel |
d27feaf5 | 61 | BuildRequires: xorg-lib-libXfixes-devel |
60eadd43 | 62 | BuildRequires: xorg-lib-libXft-devel |
2071d7b2 | 63 | BuildRequires: xorg-lib-libXi-devel |
88d12146 | 64 | BuildRequires: xorg-lib-libXinerama-devel |
d27feaf5 | 65 | BuildRequires: xorg-lib-libXrandr-devel >= 1.3.0 |
88d12146 | 66 | BuildRequires: xorg-lib-libXrender-devel |
eab354d3 | 67 | BuildRequires: xz |
60eadd43 | 68 | Requires: atk >= 1:1.30.0 |
ee07a9c1 | 69 | Requires: cairo >= 1.6.0 |
64ed4784 | 70 | Requires: gdk-pixbuf2 >= 2.22.0 |
5a2a4faf | 71 | Requires: glib2 >= 1:2.27.3 |
60eadd43 | 72 | Requires: pango >= 1:1.26.0 |
d27feaf5 | 73 | Requires: xorg-lib-libXrandr >= 1.3.0 |
3600fc7c JB |
74 | %if %{with cups} |
75 | # cups is used by default if gtk+ is built with cups | |
76 | Suggests: %{name}-cups = %{epoch}:%{version}-%{release} | |
77 | %endif | |
ee07a9c1 | 78 | Provides: gail = 1.23.0 |
59feb20d | 79 | Provides: gtk2 = %{version} |
ee07a9c1 | 80 | Obsoletes: gail |
9d638349 | 81 | Obsoletes: gtk2 |
80d4d62e | 82 | # sr@Latn vs. sr@latin |
83 | Conflicts: glibc-misc < 6:2.7 | |
7c655924 | 84 | Conflicts: gtk2-engines < 1:2.2.0-6 |
e1c87a15 JB |
85 | # autopanog.exe crashes with gtk+2 2.8.x and libgdiplus 1.1.8 |
86 | Conflicts: libgdiplus < 1.1.9 | |
db34468d | 87 | Requires(post): gtk-update-icon-cache |
812a098a | 88 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
f4d0ca3c | 89 | |
8f2bfc77 | 90 | %define abivers 2.10.0 |
91 | ||
9b929cc3 ER |
92 | %if "%{_lib}" != "lib" |
93 | %define libext %(lib="%{_lib}"; echo ${lib#lib}) | |
94 | %define _sysconfdir /etc/gtk%{libext}-2.0 | |
95 | %define pqext -%{libext} | |
96 | %else | |
97 | %define _sysconfdir /etc/gtk-2.0 | |
98 | %define pqext %{nil} | |
99 | %endif | |
100 | ||
f4d0ca3c | 101 | %description |
ee07a9c1 | 102 | GTK+, which stands for the GIMP ToolKit, is a library for creating |
f4d0ca3c | 103 | graphical user interfaces for the X Window System. It is designed to |
7f31ceb9 | 104 | be small, efficient, and flexible. GTK+ is written in C with a very |
74e95a76 | 105 | object-oriented approach. GDK (part of GTK+) is a drawing toolkit |
f4d0ca3c | 106 | which provides a thin layer over Xlib to help automate things like |
74e95a76 | 107 | dealing with different color depths, and GTK is a widget set for |
f4d0ca3c AF |
108 | creating user interfaces. |
109 | ||
869b0b0f JR |
110 | %description -l cs.UTF-8 |
111 | Knihovny X původně psané pro GIMP, které nyní používá také řada jiných | |
112 | programů. | |
f4d0ca3c | 113 | |
869b0b0f | 114 | %description -l da.UTF-8 |
f4d0ca3c AF |
115 | X biblioteker, oprindeligt udviklet til GIMP, men anvendes nu af flere |
116 | forskellige programmer. | |
117 | ||
869b0b0f JR |
118 | %description -l de.UTF-8 |
119 | Die X-Libraries, die ursprünglich für GIMP geschrieben wurden und | |
120 | mittlerweile für eine ganze Reihe anderer Programme benutzt werden. | |
f4d0ca3c | 121 | |
869b0b0f | 122 | %description -l fr.UTF-8 |
f4d0ca3c | 123 | X-kirjastot, jotka alunperin kirjoitettiin GIMP:lle, mutta joita |
869b0b0f | 124 | käytetään nyt myös useissa muissakin ohjelmissa. |
f4d0ca3c | 125 | |
869b0b0f | 126 | %description -l it.UTF-8 |
f4d0ca3c AF |
127 | Libreria X scritta per GIMP. Viene usata da diversi programmi. |
128 | ||
869b0b0f | 129 | %description -l pl.UTF-8 |
ee07a9c1 | 130 | GTK+, która to biblioteka stała się podstawą programu GIMP, zawiera |
869b0b0f JR |
131 | funkcje do tworzenia graficznego interfejsu użytkownika pod X Window. |
132 | Była tworzona z założeniem żeby była mała, efektywna i wygodna. GTK+ | |
133 | jest napisane w C z podejściem zorientowanym bardzo obiektowo. GDK | |
134 | (część GTK+) jest warstwą pośrednią pomiędzy Xlib a właściwym GTK | |
135 | zapewniającą pracę niezależnie od głębi koloru (ilości bitów na | |
136 | piksel). GTK (druga część GTK+) jest natomiast już zbiorem różnego | |
137 | rodzaju kontrolek służących do tworzenia interfejsu użytkownika. | |
f4d0ca3c | 138 | |
869b0b0f JR |
139 | %description -l tr.UTF-8 |
140 | Başlangıçta GIMP için yazılmış X kitaplıkları. Şu anda başka | |
141 | programlarca da kullanılmaktadır. | |
f4d0ca3c AF |
142 | |
143 | %package devel | |
7f31ceb9 | 144 | Summary: GTK+ header files and development documentation |
2602e0ec ER |
145 | Summary(cs.UTF-8): Sada nástrojů GIMP a kreslící kit GIMP |
146 | Summary(da.UTF-8): GIMP Toolkit og GIMP Tegnings-værktøj | |
147 | Summary(de.UTF-8): GIMP Toolkit und GIMP Drawing Kit | |
148 | Summary(fi.UTF-8): Gimp-työkalukokoelma ja Gimp-piirtotyökalut | |
149 | Summary(fr.UTF-8): Toolkit de GIMP (GTK) et Kit de dessin de GIMP (GDK) | |
150 | Summary(it.UTF-8): GIMP Toolkit and GIMP Drawing Kit | |
151 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do GTK+ | |
152 | Summary(tr.UTF-8): GIMP araç takımı ve çizim takımı | |
f4d0ca3c | 153 | Group: X11/Development/Libraries |
f9ca522f | 154 | Requires: %{name} = %{epoch}:%{version}-%{release} |
60eadd43 | 155 | Requires: atk-devel >= 1:1.30.0 |
39f5b9cd | 156 | Requires: cairo-devel >= 1.6.0 |
64ed4784 | 157 | Requires: gdk-pixbuf2-devel >= 2.22.0 |
5a2a4faf | 158 | Requires: glib2-devel >= 1:2.27.3 |
60eadd43 | 159 | Requires: pango-devel >= 1:1.26.0 |
bb78e1c8 | 160 | Requires: shared-mime-info |
88d12146 | 161 | Requires: xorg-lib-libX11-devel |
d27feaf5 | 162 | Requires: xorg-lib-libXcomposite-devel |
5939f636 | 163 | Requires: xorg-lib-libXcursor-devel |
d27feaf5 | 164 | Requires: xorg-lib-libXdamage-devel |
88d12146 | 165 | Requires: xorg-lib-libXext-devel |
d27feaf5 | 166 | Requires: xorg-lib-libXfixes-devel |
88d12146 | 167 | Requires: xorg-lib-libXft-devel |
dee40e6b | 168 | Requires: xorg-lib-libXi-devel |
88d12146 | 169 | Requires: xorg-lib-libXinerama-devel |
d27feaf5 | 170 | Requires: xorg-lib-libXrandr-devel >= 1.3.0 |
88d12146 | 171 | Requires: xorg-lib-libXrender-devel |
ee07a9c1 PZ |
172 | Provides: gail-devel = 1.23.0 |
173 | Obsoletes: gail-devel | |
9d638349 | 174 | Obsoletes: gtk2-devel |
f4d0ca3c AF |
175 | |
176 | %description devel | |
7f31ceb9 | 177 | Header files and development documentation for the GTK+ libraries. |
f4d0ca3c | 178 | |
869b0b0f JR |
179 | %description devel -l pl.UTF-8 |
180 | Pliki nagłówkowe i dokumentacja do bibliotek GTK+. | |
f4d0ca3c AF |
181 | |
182 | %package static | |
7f31ceb9 | 183 | Summary: GTK+ static libraries |
2602e0ec | 184 | Summary(pl.UTF-8): Biblioteki statyczne GTK+ |
f4d0ca3c | 185 | Group: X11/Development/Libraries |
f9ca522f | 186 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
ee07a9c1 PZ |
187 | Provides: gail-static = 1.23.0 |
188 | Obsoletes: gail-static | |
f4d0ca3c AF |
189 | |
190 | %description static | |
7f31ceb9 | 191 | GTK+ static libraries. |
f4d0ca3c | 192 | |
869b0b0f | 193 | %description static -l pl.UTF-8 |
7f31ceb9 | 194 | Biblioteki statyczne GTK+ |
f4d0ca3c | 195 | |
d58327d0 | 196 | %package apidocs |
197 | Summary: GTK+ API documentation | |
2602e0ec | 198 | Summary(pl.UTF-8): Dokumentacja API GTK+ |
d58327d0 | 199 | Group: Documentation |
200 | Requires: gtk-doc-common | |
071b3dfd | 201 | Provides: gail-apidocs = 1.23.0 |
ee07a9c1 | 202 | Obsoletes: gail-apidocs |
367f0aaf ER |
203 | %if "%{_rpmversion}" >= "5" |
204 | BuildArch: noarch | |
205 | %endif | |
d58327d0 | 206 | |
207 | %description apidocs | |
208 | GTK+ API documentation. | |
209 | ||
869b0b0f | 210 | %description apidocs -l pl.UTF-8 |
d58327d0 | 211 | Dokumentacja API GTK+. |
212 | ||
213 | %package examples | |
f384505a | 214 | Summary: GTK+ - example programs |
2602e0ec | 215 | Summary(pl.UTF-8): GTK+ - programy przykładowe |
f384505a | 216 | Group: X11/Development/Libraries |
43146b6b | 217 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
d58327d0 | 218 | |
219 | %description examples | |
220 | GTK+ - example programs. | |
221 | ||
869b0b0f JR |
222 | %description examples -l pl.UTF-8 |
223 | GTK+ - przykładowe programy. | |
d58327d0 | 224 | |
3600fc7c JB |
225 | %package cups |
226 | Summary: CUPS printing module for GTK+ | |
227 | Summary(pl.UTF-8): Moduł GTK+ do drukowania przez CUPS | |
228 | Group: X11/Libraries | |
229 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
230 | ||
231 | %description cups | |
232 | CUPS printing module for GTK+. | |
233 | ||
234 | %description cups -l pl.UTF-8 | |
235 | Moduł GTK+ do drukowania przez CUPS. | |
236 | ||
8d18157f JB |
237 | %package papi |
238 | Summary: PAPI printing module for GTK+ | |
239 | Summary(pl.UTF-8): Moduł GTK+ do drukowania przez PAPI | |
240 | Group: X11/Libraries | |
882884ad | 241 | Requires: %{name} = %{epoch}:%{version}-%{release} |
8d18157f JB |
242 | Requires: papi |
243 | ||
244 | %description papi | |
245 | PAPI printing module for GTK+. | |
246 | ||
247 | %description papi -l pl.UTF-8 | |
248 | Moduł GTK+ do drukowania przez PAPI. | |
249 | ||
f4d0ca3c | 250 | %prep |
42033f63 | 251 | %setup -q -n gtk+-%{version} |
7ec1e575 | 252 | %patch0 -p1 |
64ed4784 | 253 | %patch1 -p1 |
8d18157f | 254 | %patch2 -p1 |
f4d0ca3c | 255 | |
e0f6f227 JB |
256 | %{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' gtk/gtk-builder-convert |
257 | ||
f4d0ca3c | 258 | %build |
31ee3695 | 259 | %{__libtoolize} |
2d64e5ba | 260 | %{__glib_gettextize} |
6966c6aa | 261 | %{__aclocal} |
7ca534e7 | 262 | %{__autoheader} |
f9ca522f | 263 | %{__autoconf} |
264 | %{__automake} | |
8d18157f | 265 | CPPFLAGS="%{rpmcppflags}%{?with_papi: -I/usr/include/papi}" |
f4d0ca3c | 266 | %configure \ |
8d18157f | 267 | %{!?with_cups:--disable-cups} \ |
2d64e5ba | 268 | %{?debug:--enable-debug=yes} \ |
14e63668 | 269 | --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \ |
2d64e5ba | 270 | --enable-man \ |
8d18157f | 271 | %{!?with_papi:--disable-papi} \ |
f4d0ca3c | 272 | --enable-shm \ |
0d288597 | 273 | --%{?with_static_libs:en}%{!?with_static_libs:dis}able-static \ |
39470fc4 | 274 | --with-gdktarget=x11 \ |
dfe832cf | 275 | --with-html-dir=%{_gtkdocdir} \ |
d58327d0 | 276 | --with-xinput=yes |
717b6d64 JR |
277 | |
278 | %{__make} CC="%{__cc}" | |
f4d0ca3c AF |
279 | |
280 | %install | |
281 | rm -rf $RPM_BUILD_ROOT | |
9b7df8a5 | 282 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \ |
8f2bfc77 | 283 | $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/%{abivers}/filesystems |
f4d0ca3c AF |
284 | |
285 | %{__make} install \ | |
286 | DESTDIR=$RPM_BUILD_ROOT \ | |
94be343e | 287 | m4datadir=%{_aclocaldir} \ |
060affee | 288 | pkgconfigdir=%{_pkgconfigdir} |
f4d0ca3c | 289 | |
090ef0e5 | 290 | touch $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/%{abivers}/immodules.cache |
33137503 | 291 | |
96ccaff9 | 292 | cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
293 | ||
c6103d6d | 294 | # shut up check-files (static modules and *.la for modules) |
d50d9689 | 295 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.{a,la} |
296 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/%{abivers}/*/*.{a,la} | |
8c1f393e AF |
297 | # remove libtool files |
298 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/*.la | |
c6103d6d | 299 | |
d69b509e JB |
300 | # built in gtk+3.spec |
301 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/gtk-update-icon-cache \ | |
302 | $RPM_BUILD_ROOT%{_mandir}/man1/gtk-update-icon-cache.1 | |
db34468d | 303 | |
9b929cc3 ER |
304 | %if "%{_lib}" != "lib" |
305 | # We need to have 32-bit and 64-bit binaries as they have hardcoded LIBDIR. | |
306 | # (needed when multilib is used) | |
9b929cc3 ER |
307 | mv $RPM_BUILD_ROOT%{_bindir}/gtk-query-immodules-2.0{,%{pqext}} |
308 | %endif | |
309 | ||
7f31ceb9 | 310 | # for various GTK+2 modules |
9b7df8a5 | 311 | install -d $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules |
55b30b18 | 312 | |
eb94545a | 313 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian} |
d99f06d3 | 314 | # unsupported by glibc |
edcd19bd | 315 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/io |
7897cf83 | 316 | |
f9ca522f | 317 | %find_lang %{name} --all-name |
f4d0ca3c | 318 | |
dfe832cf ER |
319 | %{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}/{gdk,gdk-pixbuf,gtk}} |
320 | ||
f4d0ca3c AF |
321 | %clean |
322 | rm -rf $RPM_BUILD_ROOT | |
323 | ||
737cc900 | 324 | %post |
291bd4b5 | 325 | /sbin/ldconfig |
737cc900 | 326 | umask 022 |
090ef0e5 | 327 | %{_bindir}/gtk-query-immodules-2.0%{pqext} --update-cache |
f9ca522f | 328 | exit 0 |
737cc900 | 329 | |
924f8b2f | 330 | %postun |
291bd4b5 | 331 | /sbin/ldconfig |
0829e057 | 332 | if [ "$1" != "0" ]; then |
924f8b2f | 333 | umask 022 |
214ffd07 ER |
334 | # we need to check for dir existence for multilib installs as the $1 is 1 |
335 | # if we remove the other arch pkg will be still present. | |
336 | # i.e we have installed gtk+2-2.16.5-1.x86_64 and gtk+2-2.16.5-1.i686, and remove gtk+2-2.16.5-1.i686 | |
337 | if [ -d %{_sysconfdir} ]; then | |
090ef0e5 | 338 | %{_bindir}/gtk-query-immodules-2.0%{pqext} --update-cache |
214ffd07 | 339 | fi |
924f8b2f | 340 | fi |
f7b61fed JB |
341 | exit 0 |
342 | ||
343 | %triggerpostun -- gtk+2 < 2:2.4.0 | |
344 | umask 022 | |
090ef0e5 | 345 | %{_bindir}/gtk-query-immodules-2.0%{pqext} --update-cache |
f7b61fed | 346 | exit 0 |
f4d0ca3c | 347 | |
ed26125a ER |
348 | %triggerin -- hicolor-icon-theme |
349 | if [ "$1" = "1" ] && [ "$2" = "1" ]; then | |
350 | %update_icon_cache hicolor | |
351 | fi | |
352 | ||
f9ca522f | 353 | %files -f %{name}.lang |
f4d0ca3c | 354 | %defattr(644,root,root,755) |
f9ca522f | 355 | %doc AUTHORS NEWS README |
555a58f5 | 356 | %attr(755,root,root) %{_bindir}/gtk-query-immodules-2.0%{pqext} |
8cd7c578 | 357 | |
ee07a9c1 PZ |
358 | %attr(755,root,root) %{_libdir}/libgailutil.so.*.*.* |
359 | %attr(755,root,root) %ghost %{_libdir}/libgailutil.so.18 | |
6489e85c JB |
360 | %attr(755,root,root) %{_libdir}/libgdk-x11-2.0.so.*.*.* |
361 | %attr(755,root,root) %ghost %{_libdir}/libgdk-x11-2.0.so.0 | |
6489e85c JB |
362 | %attr(755,root,root) %{_libdir}/libgtk-x11-2.0.so.*.*.* |
363 | %attr(755,root,root) %ghost %{_libdir}/libgtk-x11-2.0.so.0 | |
4a14682b | 364 | %dir %{_libdir}/gtk-2.0 |
365 | %dir %{_libdir}/gtk-2.0/modules | |
2019e317 JB |
366 | %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libferret.so |
367 | %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libgail.so | |
4a14682b | 368 | %dir %{_libdir}/gtk-2.0/%{abivers} |
369 | %dir %{_libdir}/gtk-2.0/%{abivers}/engines | |
2019e317 | 370 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/engines/libpixmap.so |
4a14682b | 371 | %dir %{_libdir}/gtk-2.0/%{abivers}/filesystems |
372 | %dir %{_libdir}/gtk-2.0/%{abivers}/immodules | |
6489e85c | 373 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/immodules/im-*.so |
090ef0e5 | 374 | %ghost %{_libdir}/gtk-2.0/%{abivers}/immodules.cache |
2019e317 | 375 | %dir %{_libdir}/gtk-2.0/%{abivers}/printbackends |
3600fc7c JB |
376 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/printbackends/libprintbackend-file.so |
377 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/printbackends/libprintbackend-lpr.so | |
2019e317 | 378 | %{_libdir}/girepository-1.0/Gdk-2.0.typelib |
64ed4784 | 379 | %{_libdir}/girepository-1.0/GdkX11-2.0.typelib |
2019e317 | 380 | %{_libdir}/girepository-1.0/Gtk-2.0.typelib |
9b7df8a5 | 381 | |
9b929cc3 ER |
382 | %dir %{_sysconfdir} |
383 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/im-multipress.conf | |
737cc900 AF |
384 | %dir %{_datadir}/themes/Default/gtk-* |
385 | %{_datadir}/themes/Default/gtk-*/gtkrc | |
bae602ac | 386 | %dir %{_datadir}/themes/Emacs |
737cc900 AF |
387 | %dir %{_datadir}/themes/Emacs/gtk-* |
388 | %{_datadir}/themes/Emacs/gtk-*/gtkrc | |
59dac2f1 AM |
389 | %dir %{_datadir}/themes/Raleigh |
390 | %dir %{_datadir}/themes/Raleigh/gtk-* | |
391 | %{_datadir}/themes/Raleigh/gtk-*/gtkrc | |
6489e85c | 392 | %{_mandir}/man1/gtk-query-immodules-2.0.1* |
f4d0ca3c AF |
393 | |
394 | %files devel | |
395 | %defattr(644,root,root,755) | |
96ccaff9 | 396 | %doc ChangeLog |
24738a6b | 397 | %attr(755,root,root) %{_bindir}/gtk-builder-convert |
ee07a9c1 | 398 | %attr(755,root,root) %{_libdir}/libgailutil.so |
6489e85c | 399 | %attr(755,root,root) %{_libdir}/libgdk-x11-2.0.so |
6489e85c | 400 | %attr(755,root,root) %{_libdir}/libgtk-x11-2.0.so |
ee07a9c1 | 401 | %{_includedir}/gail-1.0 |
6489e85c JB |
402 | %{_includedir}/gtk-2.0 |
403 | %{_includedir}/gtk-unix-print-2.0 | |
404 | %{_aclocaldir}/gtk-2.0.m4 | |
4a14682b | 405 | %{_libdir}/gtk-2.0/include |
ee07a9c1 | 406 | %{_pkgconfigdir}/gail.pc |
6489e85c | 407 | %{_pkgconfigdir}/gdk-2.0.pc |
6489e85c JB |
408 | %{_pkgconfigdir}/gdk-x11-2.0.pc |
409 | %{_pkgconfigdir}/gtk+-2.0.pc | |
410 | %{_pkgconfigdir}/gtk+-unix-print-2.0.pc | |
411 | %{_pkgconfigdir}/gtk+-x11-2.0.pc | |
2019e317 | 412 | %{_datadir}/gir-1.0/Gdk-2.0.gir |
64ed4784 | 413 | %{_datadir}/gir-1.0/GdkX11-2.0.gir |
2019e317 | 414 | %{_datadir}/gir-1.0/Gtk-2.0.gir |
6489e85c | 415 | %{_mandir}/man1/gtk-builder-convert.1* |
f4d0ca3c | 416 | |
55f48af8 | 417 | %if %{with static_libs} |
f4d0ca3c AF |
418 | %files static |
419 | %defattr(644,root,root,755) | |
ee07a9c1 | 420 | %{_libdir}/libgailutil.a |
6489e85c | 421 | %{_libdir}/libgdk-x11-2.0.a |
6489e85c | 422 | %{_libdir}/libgtk-x11-2.0.a |
55f48af8 | 423 | %endif |
d58327d0 | 424 | |
425 | %if %{with apidocs} | |
426 | %files apidocs | |
427 | %defattr(644,root,root,755) | |
ee07a9c1 | 428 | %{_gtkdocdir}/gail-libgail-util |
e433e813 JB |
429 | %{_gtkdocdir}/gdk2 |
430 | %{_gtkdocdir}/gtk2 | |
d58327d0 | 431 | %endif |
432 | ||
433 | %files examples | |
434 | %defattr(644,root,root,755) | |
8cd7c578 JR |
435 | %attr(755,root,root) %{_bindir}/gtk-demo |
436 | %{_datadir}/gtk-2.0 | |
d58327d0 | 437 | %{_examplesdir}/%{name}-%{version} |
3600fc7c JB |
438 | |
439 | %if %{with cups} | |
440 | %files cups | |
441 | %defattr(644,root,root,755) | |
442 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/printbackends/libprintbackend-cups.so | |
443 | %endif | |
8d18157f JB |
444 | |
445 | %if %{with papi} | |
446 | %files papi | |
447 | %defattr(644,root,root,755) | |
448 | %attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/printbackends/libprintbackend-papi.so | |
449 | %endif |